package com.mx.mxweb.dao;

import com.mx.mxweb.model.Resources;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface ResourcesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Resources record);

    int insertSelective(Resources record);

    Resources selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Resources record);

    int updateByPrimaryKey(Resources record);

    List<Resources>  selectByKey(String key);
}